﻿<?php
echo "<table border=1>";echo "<tr>";echo "<th>";echo "id";echo "</th>";echo "<th>";echo "nazev";echo "</th>";echo "<th>";echo "popis";echo "</th>";echo "</tr>";
foreach($bot as $pom)
    {
	       echo "<tr>";
		   echo "<td>";
          echo $pom['Shoe']['id'];
		  	echo "</td>";
			echo "<td>";
          echo $pom['Shoe']['nazev'];
		  	echo "</td>";
			echo "<td>";
          echo $pom['Shoe']['popis'];
		  	echo "</td>";
			echo "<td>";
          echo "<a href='detail/".$pom['Shoe']['id']."'>Detail</a>";
      echo "</td>";
			    echo "</tr>";
    }
	echo "</table>";
	echo  "<a href='add/'>Pridej</a>";
?>
